package com.itic.appbase.framework.type;

public enum OperateType {

    add,sub;
    public static OperateType getOperateType(String type) {
        OperateType OperateType = null ;
        switch (type) {
            case "add":
                OperateType = OperateType.add;
                break;

            case "sub":
                OperateType = OperateType.sub;
                break;
        }
        return OperateType;
    }
}
